interface ILocalStore<T> {
    startTime: number;
    expires: number;
    data: T;
}

interface IObject<T> {
    [key: string]: T;
}

interface ILayout {
    menubar: IMenubar;
    userInfo: IUserInfo;
    status: IStatus;
    qrcode: IQrcode;
    lastRoute: string;
    tags: Array<any>;
    userRouters: Array<any>;
}

interface IMenubar {
    menuList: Array<any>;
}

interface IUserInfo {
    name: string;
    desc: string;
    avatar: string;
    qq: string;
    vx: string;
    Role: {
        name: string;
        permission: Array<string>;
    };
}

interface IStatus {
    accessToken: string;
    refreshToken: string;
}

interface IQrcode {
    image: string;
    imageURL: string;
    ticket: string;
}